.class Lcom/waiqin365/lightwork/tracker/h;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightwork/tracker/d;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightwork/tracker/d;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightwork/tracker/h;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 4

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/h;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-static {v0}, Lcom/waiqin365/lightwork/tracker/d;->a(Lcom/waiqin365/lightwork/tracker/d;)Landroid/widget/ListView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/ListView;->getHeaderViewsCount()I

    move-result v0

    sub-int v0, p3, v0

    if-ltz v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/h;->a:Lcom/waiqin365/lightwork/tracker/d;

    iget-object v1, v1, Lcom/waiqin365/lightwork/tracker/d;->a:Lcom/waiqin365/lightwork/tracker/model/u;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightwork/tracker/model/u;->a(I)Lcom/waiqin365/lightwork/tracker/model/t;

    move-result-object v0

    if-eqz v0, :cond_1

    const-string/jumbo v1, "4"

    iget-object v2, v0, Lcom/waiqin365/lightwork/tracker/model/t;->o:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/h;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/d;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/h;->a:Lcom/waiqin365/lightwork/tracker/d;

    const v2, 0x7f0805b7

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightwork/tracker/d;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v3}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/h;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-static {v1, v0, v3}, Lcom/waiqin365/lightwork/tracker/d;->a(Lcom/waiqin365/lightwork/tracker/d;Lcom/waiqin365/lightwork/tracker/model/t;Z)V

    goto :goto_0
.end method
